package cn.com.bluemoon.daps.model.core.file.config;

import cn.com.bluemoon.daps.common.toolkit.DbTypeHelper;
import cn.com.bluemoon.daps.common.enums.DatabaseType;
import com.alibaba.druid.DbType;
import lombok.Data;

/**
 * @author Jarod.Kong
 * @date 2021/3/11 14:07
 */
@Data
public class GlobalParserConfig {

    private String modelId;
    private DbType dbType;

    public DatabaseType getDatabaseType(){
        return DbTypeHelper.getDatabaseType(getDbType());
    }
}
